How can I use regex to remove spaces in a JavaScript string based on specific characters

visit shbcf.ru